package com.csist.mapper;

import com.csist.pojo.Announcement;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * <p>
 * 公告 Mapper 接口
 * </p>
 *
 * @author wy
 * @since 2021-12-01
 */
//@Repository
public interface AnnouncementMapper extends BaseMapper<Announcement> {
    List<Announcement> getAnnouncementByPageIndex(@Param("pageIndex") int pageIndex,@Param("pageNum") int pageNum);
}
